package com.zxw.flow.domain.entity.toc;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("f_renewal_info")
public class RenewalInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 有效期
     */
    private LocalDateTime validityPeriod;

    /**
     * 注册日期
     */
    private LocalDateTime registerDate;

    /**
     * 转账单号后6位
     */
    private Integer orderNumber;

    /**
     * 订单类型：0-微信 1-支付宝
     */
    private Integer orderType;

    /**
     * 订单金额
     */
    private BigDecimal orderPrice;

    /**
     * 订单状态：0-待确认 1-已确认
     */
    private Integer orderState;


}
